<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>餐厅详情</title>
    <link rel="stylesheet" href="//unpkg.com/layui@2.6.8/dist/css/layui.css">
    <script src="https://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
</head>
<body>
<div id="head" th:include="common/header"></div>
<div class="container" style="width: 1350px;margin-left: auto;margin-right: auto;padding: 50px">
    <div class="layui-border" style="margin-left: auto;margin-right: auto;margin-bottom: 40px;padding: 20px;position: relative;box-shadow: darkgrey 0px 0px 10px 5px">
        <a th:href="${res.getRestaurantlink()}" title="餐厅友情链接">
            <img th:src="${res.getPicture()}" width="400px" height="auto" alt="" style="margin: 20px;border-radius: 10%">
        </a>
        <p th:text="${res.getRestaurantname()}" style="position:absolute;margin-left:540px;top:60px;font-size: 30px;color: black">餐厅名称</p>
        <p style="position: absolute;margin-left: 490px;top: 140px">地址：</p>
        <p th:text="${res.getAddress()}" style="position: absolute;margin-left: 530px;top: 140px">餐厅地址</p>
        <p style="position: absolute;margin-left: 490px;top: 180px">评分：</p>
        <a th:href="${res.getScorelink()}" title="评分由来">
             <p th:text="${res.getScore()}" style="position: absolute;margin-left: 530px;top: 180px">评分</p>
        </a>
        <p style="position: absolute;margin-left: 490px;top: 220px">价格:</p>
        <p th:text="${res.getPrice()!=null?res.getPrice():'暂无价格'}" style="position: absolute;margin-left: 530px;top: 220px"></p>
    </div>
    <div class="introducesspot">
        <h2><strong>餐厅介绍</strong></h2>
        <p style="font-size: 18px" th:text="${res.getIntroduce()}"></p>
    </div>
    <br>
    <br>
    <div class="food">
        <h2><strong>特色菜肴</strong></h2>
        <p style="font-size: 18px" th:text="${res.getTs()}"></p>
    </div>
</div>



<span id="foot" th:include="common/footer"></span>
</body>
<script src="//unpkg.com/layui@2.6.8/dist/layui.js"></script>
</html>